<template>
  <el-image class="zc-image" :src="url" :preview-src-list="[url]" fit="cover" />
</template>

<script lang="ts" setup>
import { ref, defineProps } from "vue";

const props = defineProps({
  url: {
    type: String,
    default: ""
  },
  name: {
    type: String,
    default: ""
  }
});
</script>

<style lang="scss" scoped>
.zc-image {
  width: 136px;
  height: 136px;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
}
</style>
